<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<script type="text/javascript">
    $(function () {
        $("#out").click(function () {
            return confirm("确定要注销吗？");
        })
    })
</script>
<div>
    <span>欢迎<span class="um_span">${sessionScope.username}</span>光临尚硅谷书城</span>
    <a href="orderServlet?action=showMyOrders&id=${sessionScope.user.id}">我的订单</a>
    <a id="out" href="userServlet?action=logout">注销</a>&nbsp;&nbsp;
    <a href="index.jsp">返回</a>
</div>

